package com.hujesse.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 在数据库中呢，将1直接映射为register，2映射为handin
 */
public enum StatusEnums {
    REGISTER(1,"已经登记"),
    HANDIN(2,"已经上交");

    @EnumValue
    private Integer code;
    private String msh;

    StatusEnums(Integer code, String msh) {
        this.code = code;
        this.msh = msh;
    }
}
